package com.itheima.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.entity.Dish;
import com.itheima.util.Result;

public interface IDishService extends IService<Dish> {

    Result saveDish(Dish dish);

    Result deleteById(Long ids);

    Result status(Integer status, Long ids);

    Result listDish(Long categoryId);

    IPage getPage(int current, int pageSize,String name);

}
